import Mock from "mockjs";

Mock.mock("/api/hotrot", {
  code: 200,
  hotList: [
    {
      id: 0,
      img:
        "https://img.alicdn.com/imgextra/i2/96758903/O1CN01rhcZT82FdcoQOhPZ1_!!0-saturn_solar.jpg_468x468q75.jpg_.webp",
      title: "苹果12手机壳超薄 ",
      price: "98.00",
    },
    {
      id: 1,
      img:
        "https://img.alicdn.com/imgextra/i2/96758903/O1CN01rhcZT82FdcoQOhPZ1_!!0-saturn_solar.jpg_468x468q75.jpg_.webp",
      title: "苹果12手机壳超薄",
      price: "90.00",
    },
    {
      id: 2,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超薄 ",
      price: "90.00",
    },
    {
      id: 3,
      img:
        "https://img.alicdn.com/imgextra/i2/96758903/O1CN01rhcZT82FdcoQOhPZ1_!!0-saturn_solar.jpg_468x468q75.jpg_.webp",
      title: "苹果12手机壳",
      price: "98.00",
    },
    {
      id: 4,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "987.00",
    },
    {
      id: 5,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "197.00",
    },
    {
      id: 6,
      img:
        "https://img.alicdn.com/imgextra/i2/96758903/O1CN01rhcZT82FdcoQOhPZ1_!!0-saturn_solar.jpg_468x468q75.jpg_.webp",
      title: "苹果12手机壳超薄",
      price: "117.00",
    },
    {
      id: 7,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "157.00",
    },
    {
      id: 8,
      img:
        "https://img.alicdn.com/imgextra/i2/96758903/O1CN01rhcZT82FdcoQOhPZ1_!!0-saturn_solar.jpg_468x468q75.jpg_.webp",
      title: "苹果12手机，很好",
      price: "1547.00",
    },
    {
      id: 9,
      img:
        "https://img.alicdn.com/imgextra/i2/96758903/O1CN01rhcZT82FdcoQOhPZ1_!!0-saturn_solar.jpg_468x468q75.jpg_.webp",
      title: "苹果12手机壳,很好",
      price: "257.00",
    },
    {
      id: 10,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "387.00",
    },
    {
      id: 11,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "387.00",
    },
    {
      id: 12,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "387.00",
    },
    {
      id: 13,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "9817.00",
    },
    {
      id: 14,
      img:
        "https://img.alicdn.com/imgextra/https://img.alicdn.com/imgextra/i3/1096568916/O1CN01Jh4vzF2FjZxEci4m6_!!1096568916.jpg_430x430q90.jpg",
      title: "苹果12手机壳超",
      price: "9817.00",
    },
  ],
});
Mock.setup({
  timeout: 1000 - 2000,
});
